﻿using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VRB_0._1
{
    class VisualObject
    {
        public Viewport viewport;
        public Vector2 Position;
        public Vector2 StartPosition;
        public bool Active;

        public virtual int Width
        {
            get { return Width; }
        }
        public virtual int Height
        {
            get { return Height; }
        }

        public virtual void Initialize(Viewport viewport, Vector2 position) 
        {
            this.viewport = viewport;
            this.Position = position;
            StartPosition = position;
        }
        public virtual void Update(GameTime gameTime) { }
        public virtual void Draw(SpriteBatch spriteBatch) { }
        public virtual void Restart()
        {
            Position = StartPosition;
        }

        public virtual void Changeposition(float MoveSpeed)
        { }

        public virtual Vector2 GetPositions()
        {
            return Vector2.Zero;
        }

        public virtual void ChangeState(Button.State State)
        { }
    }
}
